#import <Foundation/Foundation.h>

//define UI 
//Global UI values
#define	navBarRed		255.0f/255.0f
#define	navBarGreen		203.0f/255.0f
#define	navBarBlue		219.0f/255.0f
#define	navBarAlpha		0.5

//Baby Activity View
#define	commentsTextRed		140.0f/255.0f
#define	commentsTextGreen	140.0f/255.0f
#define	commentsTextBlue	140.0f/255.0f
#define	commentsTextAlpha	1.0


#define	cellBackgroundRed		255.0f/255.0f
#define	cellBackgroundGreen		250.0f/255.0f
#define	cellBackgroundBlue		250.0f/255.0f
#define	cellBackgroundAlpha		1.0


//setting view
#define	cellBackgroundSettingRed		255.0f/255.0f
#define	cellBackgroundSettingGreen		250.0f/255.0f
#define	cellBackgroundSettingBlue		250.0f/255.0f
#define	cellBackgroundSettingAlpha		1.0

//Report view
#define	cellBackgroundReportRed			255.0f/255.0f
#define	cellBackgroundReportGreen		250.0f/255.0f
#define	cellBackgroundReportBlue		250.0f/255.0f
#define	cellBackgroundReportAlpha		1.0

#define	columnBackgroundRed			210.0f/255.0f
#define	columnBackgroundGreen		0.0f/255.0f
#define	columnBackgroundBlue		100.0f/255.0f
#define	columnBackgroundAlpha		1.0

#define	graphBackgroundRed			255.0f/255.0f
#define	graphBackgroundGreen		203.0f/255.0f
#define	graphBackgroundBlue			219.0f/255.0f
#define	graphBackgroundAlpha		1.0

/*
cell.backgroundColor = [UIColor colorWithRed:cellBackgroundReportRed green:cellBackgroundReportGreen 
										blue:cellBackgroundReportBlue alpha:cellBackgroundReportAlpha];

*/

#define DEFAULT_BABY_NAME		   @"乖乖"

#define DATE_FORMAT				   @"yyyy/MM/dd"
#define DATE_FORMAT_NO_YEAR        @"DATE_FORMAT_NO_YEAR/dd"
#define DATE_TIME_FORMAT           @"yyyy/MM/dd hh:mm"
#define DATE_TIME_FORMAT_NO_YEAR   @"MM/dd hh:mm"


#define kBabyGrowTableViewRowHeight     69
#define kBabyActivityTableViewRowHeight 50
#define kBabyPhotoListViewRowHeight		65
  

#define EAT_MUM_CATEGORY_STR	 @"母乳"
#define EAT_MILK_CATEGORY_STR	 @"奶粉"
#define DRINK_WATER_CATEGORY_STR @"喝水"
#define PEE_CATEGORY_STR         @"尿"
#define SHIT_CATEGORY_STR        @"便便"
//BabyAcitivityView
#define ADD_STR					 @"添加"
#define DEL_STR					 @"删除"
#define DONE_STR				 @"完成"
#define ALERT_TITLE				 @"提示"
#define TEXT_TOO_LONG			 @"输入字符过多"

#define COMMENTS_LABEL_STR			 @"备注"
#define COMMENTS_LABEL_HOLDER_STR	 @"请输入备注(50字内)"
#define EAT_MUM_AMOUNT_LABEL_STR	 @"时间(min): "
#define EAT_MILK_AMOUNT_LABEL_STR	 @"数量(ml): "
#define DRINK_WATER_AMOUNT_LABEL_STR @"数量(ml): "

#define TITLE_DISAPLAY_BABY_ACTIVITY_VIEW  @"活动记录"
#define HEADLINE_BABY_ACTIVITY_VIEW		   @"时间			活动			数量"

//BABY GROW View
#define TITLE_DISAPLAY_BABY_GROW_VIEW  @"成长记录"
#define HEIGHT_STR @"身高"
#define HEIGHT_UNIT_STR @"cm"
#define WEIGHT_STR @"体重"
#define WEIGHT_UNIT_STR @"kg"
#define HEADCIR_STR @"头围"
#define HEADCIR_UNIT_STR @"cm"
#define DATE_STR @"日期"
#define INVALIDATE_INPUT  @"输入值不合法"
#define INPUT_DATE_NOT_EARLY_THAN_BIRTHDAY  @"时间不能早于生日"
#define AGE_YEAR   @"岁"  
#define AGE_MONTH  @"个月"
#define AGE_DAY    @"天"
#define CHOOSE_PIC  @"选取图片.."

#define BABY_GROW_ENTRY_CONTENT_STR	@"#宝宝日记# 我家宝宝 %@,%@,身高 %.2fcm,体重 %.2fkg,头围 %.2fcm"
#define BABY_GROW_ENTRY_SUMMARY_STR	@"%@,身高 %.2fcm,体重 %.2fkg,头围 %.2fcm"
#define BABY_ACTIVITY_ENTRY_CONTENT_STR	@"#宝宝日记# 我家宝宝 %@,%@ %@ %@ %@"

#define BACKUP_DATA  @"正在备份数据.请不要退出..."

//Report
#define TITLE_REPORT_LIST_VIEW        @"报告"
#define TITLE_DETAIL_REPORT_VIEW      @"详细报告"
#define TITLE_ACTIVITY_REPORT_VIEW    @"活动记录报告"

#define REPORT_LAST_12_HOURS_STR	@"最近12小时"
#define REPORT_LAST_24_HOURS_STR	@"最近24小时"
#define REPORT_LAST_5_DAYS_STR		@"最近一周对比"
#define REPORT_CUSTORM_DAYS_STR		@"自定义时间段"


#define EAT_MUM_FORMAT_STR			@"母乳        %d次       %dmin"
#define EAT_MILK_FORMAT_STR			@"奶粉        %d次       %dml"
#define DRINK_WATER_FORMAT_STR		@"喝水        %d次       %dml"
#define PEE_FORMAT_STR				@"尿          %d次"
#define SHIT_FORMAT_STR				@"便便        %d次"

#define BABY_ACTIVITY_REPORT_FORMAT_STR			@"#宝宝日记# 我家宝宝%@,从%@到%@,母乳:%d次 %dmin,奶粉:%d次 %dml,喝水:%d次 %dml,尿:%d次,便便:%d次"



#define COUNT_SUFFIX				@"次"
#define AMOUNT_SUFFIX				@"ml"

#define TITLE_CUSTOM_REPORT_VIEW				  @"详细报告"
#define TITLE_TIMESPAN_SETTING_VIEW				  @"自定义日期"
#define TITLE_CUSTOM_REPORT_SECTION_SUMMARY		  @"统计信息"
#define TITLE_CUSTOM_REPORT_SECTION_DETAILS		  @"详细信息"
#define TITLE_CUSTOM_REPORT_NAV_ITEM			  @"查看报告"
#define TITLE_ALERT_TIMESPAN_SETTINGS_ERROR		  @"结束时间不能早于开始时间!"
#define ALERT_MESSAGE_NO_RECORD_ACCORDING_RULE    @"没有符合条件的记录!"

//baby photo

#define BABY_PHOTO	@"宝宝相册"
#define BABY_GROW_PHOTO_ALBUM	@"成长相册"
#define BABY_GROW_PHOTO_ALBUM_COMMENTS	@"宝宝成长过程"
#define BABY_OTHERS_PHOTO_ALBUM	@"随手拍相册"
#define BABY_OTHERS_PHOTO_ALBUM_COMMENTS	@"随手拍下宝宝的活动"
#define BABY_PHOTO_EDIT	@"编辑相册"

#define TITLE_DISAPLAY_BABY_PHOTO_ENTRY @"图片记录"

#define BABY_PHOTO_NOT_SELECTED  @"您没有选定照片"

//settings
#define TITLE_SETTINGS_VIEW					 @"设置"
#define TITLE_SETTINGS_SECTION_BASIC_VIEW    @"基本信息"
#define TITLE_SETTINGS_SECTION_EXPORT_VIEW   @"备份"
#define TITLE_SETTINGS_SECTION_EXPORT_DETAILS_VIEW   @"Email所有的记录"
#define TITLE_SETTINGS_SECTION_UPLOAD_TO_CLOUD   @"备份到云端"
#define TITLE_SETTINGS_SECTION_WEIBO	     @"账号绑定"
#define TITLE_SETTINGS_SECTION_WEIBO_WITH_ACTIVITY	     @"分享单条活动记录"
#define SINA_LOGIN							 @"Sina 微博绑定"
#define TENCENT_LOGIN						 @"Tencent 微博绑定"
#define LOGOFF								 @"注销"
#define ABOUT								 @"关于"
#define FEEDBACK							 @"意见反馈"
#define FEEDBACK_TEMPLATE					 @"@宝宝日记官方微博:我想给你提点建议"
#define FOLLOW_TEMPLATE					     @"感谢您关注宝宝日记官方微博!我们会继续努力!"
#define RECOMMEND_TEMPLATE					 @"我装上了@宝宝日记客户端iPhone版!太给力了!推荐你们也装一个吧!去AppStore搜索宝宝日记即可"


#define TITLE_BABY_NAME_VIEW				 @"姓名"
#define TITLE_BABY_BIRTHDAY_VIEW			 @"生日设定"
#define TITLE_BABY_GENDER_VIEW			     @"性别设定"
#define BABY_NAME_PLACEHOLDER				 @"请输入姓名..."
#define GENDER_GIRL	  @"女孩"
#define GENDER_BOY	  @"男孩"

#define NAME_FORMAT_STR			@"姓名: %@"
#define BIRTHDAY_FORMAT_STR		@"生日: %@"
#define GENDER_FORMAT_STR		@"性别: %@"

#define NAME_STR			@"姓名"
#define BIRTHDAY_STR		@"生日"
#define GENDER_STR		    @"性别"
#define TIME				@"时间"
#define AMOUNT				@"数量"
#define CATEGORY			@"活动类别"
#define COMMENTS			@"备注"

#define MAIL_RESULT_CANCEL		@"取消邮件发送"
#define MAIL_RESULT_SAVED		@"邮件已保存"
#define MAIL_RESULT_SENT		@"邮件已发送"
#define MAIL_RESULT_FAILED		@"邮件发送失败"
#define MAIL_RESULT_NOT_SENT	@"邮件尚未发送"

#define HTML_HEADER			 @"时间,类型,备注,数量"

#define BABY_ACTIVITY_REPORT_TITLE			 @"时间,类型,备注,数量"
#define BABY_GROW_REPORT_TITLE			     @"时间,姓名,身高,体重,头围,备注"

#define ALERT_MESSAGE_NO_RECORD  @"数据库中没有记录!"

#define START_DATE				 @"开始日期"
#define END_DATE				 @"结束日期"


#define WEIBO_BIND_SUCCESS       @"微博账号绑定成功！您可以将记录发送到微博中啦！"
#define WEIBO_BIND_NOT_YET       @"您还没有绑定微博账号！请先绑定微博！"
#define WEIBO_BIND_ALREADY       @"微博账号已经绑定！您可以直接发微博啦！"
#define WEIBO_BIND_LOGOFF        @"真的要取消绑定嘛?"
#define WEIBO_POST_SUCCESS       @"微博发送成功!"
#define NETWORK_NO_CONNECTION    @"你的网络好像有点问题!"

#define TAKE_PHOTO				 @"拍照"
#define USER_LIBRARY			 @"用户相册"
#define REMOVE_IMAGE			 @"清除图片"

#define EMAIL_BODY				 @"欢迎使用宝宝日记"

/*
#define EAT_MUM_CATEGORY_STR	 @"MUM"
#define EAT_MILK_CATEGORY_STR	 @"MILK"
#define DRINK_WATER_CATEGORY_STR @"WATER"
#define PEE_CATEGORY_STR         @"PEE"
#define SHIT_CATEGORY_STR        @"SHIT"
//BabyAcitivityView
#define ADD_STR					 @"ADD"
#define DEL_STR					 @"DEL"
#define DONE_STR				 @"DONE"
#define ALERT_TITLE				 @"NOTICE"

#define COMMENTS_LABEL_STR			 @"COMMENTS"
#define COMMENTS_LABEL_HOLDER_STR	 @"Please input comments(40 words limits)"
#define EAT_MUM_AMOUNT_LABEL_STR	 @"Duration(min): "
#define EAT_MILK_AMOUNT_LABEL_STR	 @"Amount(ml): "
#define DRINK_WATER_AMOUNT_LABEL_STR @"Amount(ml): "

#define TITLE_EDIT_BABY_ACTIVITY_VIEW      @"Activity Record"
#define TITLE_DISAPLAY_BABY_ACTIVITY_VIEW  @"RECORD"
#define HEADLINE_BABY_ACTIVITY_VIEW		   @"TIME			ACTIVITY			AMOUNT"


//Report
#define TITLE_REPORT_LIST_VIEW      @"REPORT"
#define TITLE_DETAIL_REPORT_VIEW    @"DETAIL REPORT"

#define REPORT_LAST_12_HOURS_STR	@"Last 12 hours"
#define REPORT_LAST_24_HOURS_STR	@"Last 24 hours"
#define REPORT_LAST_5_DAYS_STR		@"Last 5 days"
#define REPORT_CUSTORM_DAYS_STR		@"Custom Report"


#define EAT_MUM_FORMAT_STR			@"MUM           %d times       %d min"
#define EAT_MILK_FORMAT_STR			@"MILK          %d times       %d ml"
#define DRINK_WATER_FORMAT_STR		@"WATER         %d times       %d ml"
#define PEE_FORMAT_STR				@"PEE           %d times"
#define SHIT_FORMAT_STR				@"SHIT          %d times"

#define COUNT_SUFFIX				@"times"
#define AMOUNT_SUFFIX				@"ml"

#define TITLE_CUSTOM_REPORT_VIEW				  @"DETAIL REPORT"
#define TITLE_TIMESPAN_SETTING_VIEW				  @"CUSTOM TIME"
#define TITLE_CUSTOM_REPORT_SECTION_SUMMARY		  @"SUMMARY"
#define TITLE_CUSTOM_REPORT_SECTION_DETAILS		  @"DETAILS"
#define TITLE_CUSTOM_REPORT_NAV_ITEM			  @"REPORT"
#define TITLE_ALERT_TIMESPAN_SETTINGS_ERROR		  @"Make sure start date is early than end date!"
#define ALERT_MESSAGE_NO_RECORD_ACCORDING_RULE    @"No record according rule!"

//settings
#define TITLE_SETTINGS_VIEW					 @"SETTINGS"
#define TITLE_SETTINGS_SECTION_BASIC_VIEW    @"BABY INFO"
#define TITLE_SETTINGS_SECTION_EXPORT_VIEW   @"BACK UP"
#define TITLE_SETTINGS_SECTION_EXPORT_DETAILS_VIEW   @"Email All Record"
#define TITLE_BABY_NAME_VIEW				 @"NAME"
#define TITLE_BABY_BIRTHDAY_VIEW			 @"BIRTHDAY"
#define BABY_NAME_PLACEHOLDER				 @"Please Input Name..."

#define NAME_FORMAT_STR			@"NAME: %@"
#define BIRTHDAY_FORMAT_STR		@"BIRTHDAY: %@"

#define MAIL_RESULT_CANCEL		@"Result: canceled"
#define MAIL_RESULT_SAVED		@"Result: saved"
#define MAIL_RESULT_SENT		@"Result: sent"
#define MAIL_RESULT_FAILED		@"Result: failed"
#define MAIL_RESULT_NOT_SENT	@"Result: not sent"

#define REPORT_TITLE			 @"TIME,CATEGORY,COMMENTS,AMOUNT"

#define ALERT_MESSAGE_NO_RECORD  @"No Record!"

#define START_DATE				 @"Start Date"
#define END_DATE				 @"End Date"
*/
